<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="reservation.do" method="post">
		<input type="hidden" name="method" value="registerProduct">
		<table align="center">
			<thead>
				<tr >
					<td colspan="2" align="center"><font color="skyblue" size="10">투어 상품 수정</font></td>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td>상품명</td>
					<td><input type="text" name="productName" value=${requestScope.productName }></td>
				</tr>
				<tr>
					<td>상품 기간</td>
					<td><input type="text" name="productStartdate" value=${requestScope.productStartdate }> ~ 
					<input	type="text" name="productEnddate" value=${requestScope.productEnddate }></td>
				</tr>
				<tr>
					<td>출발 시간</td>
					<td><select name="productStarttime">
					<c:forEach begin="1" end="24" var="i">
					<option value="${i}">${i}시</option>
					</c:forEach>
							
					</select></td>
				</tr>
				<tr>
					<td>소요 시간</td>
					<td><input type="text" name="productLeadtime"></td>
				</tr>
				<tr>
					<td>상품 정원</td>
					<td><input type="text" name="productMaximumNumber"></td>
				</tr>
				
				<tr>
					<td>상품 코스</td>
					<td><textarea rows="3" cols="40" name="productCourse">코스를 입력하세요 ex)경복궁->남산</textarea></td>
				</tr>
				<tr>
					<td>상품 소개</td>
					<td><textarea rows="5" cols="40" name="productIntroduce">소개글을 입력하세요</textarea></td>
				</tr>
			</tbody>
			<tfoot>
				<tr>
					<td colspan="2" align="right"></td>
				</tr>
			</tfoot>
		</table>
		<input type="submit" value="등록">
	</form>
</body>
</html>